%module Cpp

%{
#include "cpp.h"
%}


struct Rect {
	int x;
	int y;
};
int method1(struct Rect* p);
int method2(struct Rect& p);
int method3(struct Rect p);


void Foo(int x = 10, int y = 20, int z = 30);

void foo(int a);
void foo(double a);

/*
 swig -java -package com.example.hellojni -outdir ../src/com/example/hellojni/ -c++  Cpp.i
 */